<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>

<a4j:form id="form_lostPassword">
	<h:panelGrid columns="2">
		<h:outputText value="#{msg.input_mail}" />
		<h:inputText id="input_mail" value="#{sendMailBean.mail}"
			required="true" requiredMessage="#{msg.input_mail_required}"
			maxlength="30" size="30">
			<f:validator validatorId="mailValidation" />
		</h:inputText>

		<h:commandLink value="Envoyer"
			action="#{sendMailBean.sendPasswordByMail}" />
	</h:panelGrid>
</a4j:form>
